package team.seekers.oj.checkpoint.dto;

import lombok.*;
import team.seekers.oj.common.entity.BaseDTO;

import java.util.Date;


/**
 * @Description TODO
 * @Author zhangt2333
 * @Date 2020/4/3 21:23
 * @Version V1.0
 **/

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class CheckpointManageListDTO extends BaseDTO {

    public static final int MAX_DESCRIPTION_LENGTH = 64;

    private Long checkpointId;

    private Date gmtCreate;

    private Date gmtModified;

    private String inputPreview;

    private String outputPreview;

    private Integer inputSize;

    private Integer outputSize;

    private String inputFilename;

    private String outputFilename;

    private String input;

    private String output;

    private Long inputFileId;

    private Long outputFileId;

    // ---------------------------------------

    private Integer checkpointScore;

    private Integer caseIndex;      // nullable
}